package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 轮播图
 * </p>
 *
 * @author liliping
 * @since 2019-04-03
 */
@TableName("tb_banner")
public class TbBanner implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId(value="banner_id")
	private Long bannerId;

	/**
	 * 名称
	 */
	@TableField(value="banner_name")
	private String bannerName;

	/**
	 * 图片地址
	 */
	@TableField(value="pic_url")
	private String picUrl;

	/**
	 * 关联商品编号
	 */
	@TableField(value="product_id")
	private Long productId;

	/**
	 * 数据状态 1:正常 0:删除
	 */
	@TableField(value="data_status")
	private Integer dataStatus;

	/**
	 * 添加时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 修改时间
	 */
	@TableField(value="update_time")
	private Date updateTime;

	/**
	 * 删除时间
	 */
	@TableField(value="delete_time")
	private Date deleteTime;

	/**
	 * 添加人
	 */
	@TableField(value="add_user_id")
	private Long addUserId;

	/**
	 * 修改人
	 */
	@TableField(value="update_user_id")
	private Long updateUserId;

	/**
	 * 删除人
	 */
	@TableField(value="delete_user_id")
	private Long deleteUserId;

	/**
	 * 轮播类型
	 * 1： 首页轮播
	 * 2: 广告图片
	 */
	@TableField(value = "banner_type")
	private Integer bannerType;

	@TableField(exist = false)
	private  String productName;

	public Integer getBannerType() {
		return bannerType;
	}

	public void setBannerType(Integer bannerType) {
		this.bannerType = bannerType;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Long getBannerId() {
		return bannerId;
	}

	public void setBannerId(Long bannerId) {
		this.bannerId = bannerId;
	}

	public String getBannerName() {
		return bannerName;
	}

	public void setBannerName(String bannerName) {
		this.bannerName = bannerName;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public Long getAddUserId() {
		return addUserId;
	}

	public void setAddUserId(Long addUserId) {
		this.addUserId = addUserId;
	}

	public Long getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Long getDeleteUserId() {
		return deleteUserId;
	}

	public void setDeleteUserId(Long deleteUserId) {
		this.deleteUserId = deleteUserId;
	}

}
